package com.hzcx.app.simplechat.ui.setting.contract;

import android.app.Activity;
import android.content.Context;

import com.hzcx.app.simplechat.base.IPresenter;
import com.hzcx.app.simplechat.base.IView;
import com.hzcx.app.simplechat.ui.setting.bean.AutoSendMessageBean;

import java.util.List;

public interface SettingAutoSendMsgContract {

    interface View extends IView {
        void messageResult(List<AutoSendMessageBean> data);
        void updateItemSuccess(int pos);
        void deleteSuccess(int pos);
        void moveSuccess();
        void updateAutoSuccess();
        void updateAutoFail();
    }

    interface Presenter extends IPresenter<View> {
        void getMessageSettingList(Context context,boolean isShow);
        void updateMessageItemSetting(Context context,int id,int pos);
        void deleteMessageSettingItem(Context context,int id,int pos);
        void moveMessageSetting(Context context, List<AutoSendMessageBean> data);
        void updateAutoChat(Context context,String is_hosting);
    }

}
